package crawl;

/**
 * The class <code>CrawlingException</code> are a form of <code>Throwable</code>
 * that indicates conditions that a reasonable application might want to catch.
 * 
 * @author huangcd
 */
public class CrawlingException extends Exception
{
    /**
     * Constructs a new exception with <code>null</code> as its detail message.
     * The cause is not initialized, and may subsequently be initialized by a
     * call to {@link #initCause}.
     */
    public CrawlingException()
    {
        super();
    }

    /**
     * Constructs a new exception with the specified detail message. The cause
     * is not initialized, and may subsequently be initialized by a call to
     * {@link #initCause}.
     * 
     * @param message
     *            the detail message. The detail message is saved for later
     *            retrieval by the {@link #getMessage()} method.
     */
    public CrawlingException(String message)
    {
        super(message);
    }
}
